package com.jnu.hc.jnuhcdoccms.controller;

import com.jnu.hc.jnuhcdoccms.dto.ResponseObject;
import com.jnu.hc.jnuhcdoccms.service.OrderService;
import com.jnu.hc.jnuhcusercms.domain.Orders;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OrderController {
    @Autowired
    OrderService orderService;
    @RequestMapping("/getorderlist")
    public ResponseObject getorderlist(){
        return orderService.getOrderList();
    }
}
